export function bgStyle(urlimg) {
    let style = {};
	if (urlimg) {
		style = {
			'backgroundImage': `url("${urlimg}")`,
			'backgroundSize':'100% 100%'
		}
	} else {
		style = null;
	}
	return style;
}